<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:ser="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:tns="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/System" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd8" namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Versioning" />
  <xs:import schemaLocation="http://localhost/RioWCFServices/RioWCFService.svc?xsd=xsd5" namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Enum" />
  <xs:complexType name="MessageRequest">
    <xs:sequence>
      <xs:element minOccurs="0" name="LicenseKey" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MessageRequest" nillable="true" type="tns:MessageRequest" />
  <xs:complexType name="ReturnLong">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnValueOflong">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnLong" nillable="true" type="tns:ReturnLong" />
  <xs:complexType name="ReturnValueOflong">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="ReturnValueOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="long" Namespace="http://www.w3.org/2001/XMLSchema" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Value" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnValueOflong" nillable="true" type="tns:ReturnValueOflong" />
  <xs:complexType name="ReturnObject">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ItemEntity">
        <xs:sequence>
          <xs:element xmlns:q1="http://schemas.datacontract.org/2004/07/System" minOccurs="0" name="ApplicationException" nillable="true" type="q1:Exception" />
          <xs:element minOccurs="0" name="ErrorCode" type="xs:int" />
          <xs:element minOccurs="0" name="ErrorMessage" nillable="true" type="xs:string" />
          <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ErrorMessageParametersList" nillable="true" type="q2:ArrayOfstring" />
          <xs:element minOccurs="0" name="FullErrorMessage" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsValid" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnObject" nillable="true" type="tns:ReturnObject" />
  <xs:complexType name="ItemEntity">
    <xs:sequence>
      <xs:element minOccurs="0" name="ForeignKey" type="ser:guid" />
      <xs:element minOccurs="0" name="ForeignKey1" type="ser:guid" />
      <xs:element minOccurs="0" name="ForeignKey2" type="ser:guid" />
      <xs:element minOccurs="0" name="ForeignKey3" type="ser:guid" />
      <xs:element minOccurs="0" name="Key" type="ser:guid" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ItemEntity" nillable="true" type="tns:ItemEntity" />
  <xs:complexType name="MessageFlow">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Chrono" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Destinataire" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DestinataireList" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DocumentList" nillable="true" type="tns:ArrayOfDocument" />
          <xs:element minOccurs="0" name="Emetteur" nillable="true" type="tns:User" />
          <xs:element minOccurs="0" name="Expedition" type="xs:dateTime" />
          <xs:element minOccurs="0" name="FolderURL" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="GroupId" type="xs:long" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="LastActionDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="LastReadDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Memo" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MyDocEtat" type="xs:int" />
          <xs:element minOccurs="0" name="Objet" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RguId" type="xs:long" />
          <xs:element minOccurs="0" name="SendAlertByEmail" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MessageFlow" nillable="true" type="tns:MessageFlow" />
  <xs:complexType name="ArrayOfDocument">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Document" nillable="true" type="tns:Document" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDocument" nillable="true" type="tns:ArrayOfDocument" />
  <xs:complexType name="Document">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element xmlns:q3="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Versioning" minOccurs="0" name="AllVersion" nillable="true" type="q3:ArrayOfVersioningItem" />
          <xs:element minOccurs="0" name="Author" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
          <xs:element xmlns:q4="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Versioning" minOccurs="0" name="CurrentModelVersion" nillable="true" type="q4:VersioningModel" />
          <xs:element minOccurs="0" name="Deleted" type="xs:boolean" />
          <xs:element minOccurs="0" name="Folder" nillable="true" type="tns:Folder" />
          <xs:element minOccurs="0" name="FolderHumanIdentifier" type="xs:int" />
          <xs:element minOccurs="0" name="FolderId" type="xs:long" />
          <xs:element minOccurs="0" name="FolderIdentifier" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FolderTypeIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="FullText" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IdCourrierErp" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="ImageHumanIdentifier" type="xs:int" />
          <xs:element minOccurs="0" name="ImageName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsVersionable" type="xs:boolean" />
          <xs:element minOccurs="0" name="ItemRank" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MesureErp" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ModificationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="MultiVolumePath" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Note" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="OriginalNameFile" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="OriginalNameFileExtension" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PhotoCredit" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PublicationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="RankInFolder" type="xs:int" />
          <xs:element minOccurs="0" name="RelativePath" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Thumbnail" type="xs:boolean" />
          <xs:element minOccurs="0" name="VideoLength" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Document" nillable="true" type="tns:Document" />
  <xs:complexType name="Constant">
    <xs:sequence />
  </xs:complexType>
  <xs:element name="Constant" nillable="true" type="tns:Constant" />
  <xs:complexType name="OccurenciesForOneIndex">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="IndexId" type="xs:long" />
          <xs:element xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="OccurenciesList" nillable="true" type="q5:ArrayOfstring" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OccurenciesForOneIndex" nillable="true" type="tns:OccurenciesForOneIndex" />
  <xs:complexType name="OccurenciesForAllIndex">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="IndexIdList" nillable="true" type="q6:ArrayOflong" />
          <xs:element minOccurs="0" name="OccurenciesList" nillable="true" type="tns:ArrayOfOccurenciesForOneIndex" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OccurenciesForAllIndex" nillable="true" type="tns:OccurenciesForAllIndex" />
  <xs:complexType name="ArrayOfOccurenciesForOneIndex">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OccurenciesForOneIndex" nillable="true" type="tns:OccurenciesForOneIndex" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOccurenciesForOneIndex" nillable="true" type="tns:ArrayOfOccurenciesForOneIndex" />
  <xs:complexType name="OccurenciesByFolderType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="WithFilter" nillable="true" type="tns:OccurenciesForAllIndex" />
          <xs:element minOccurs="0" name="WithoutFilter" nillable="true" type="tns:OccurenciesForAllIndex" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OccurenciesByFolderType" nillable="true" type="tns:OccurenciesByFolderType" />
  <xs:complexType name="OccurenciesByFolder">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="AuthorList" nillable="true" type="q7:ArrayOfstring" />
          <xs:element xmlns:q8="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="CreditPhotoList" nillable="true" type="q8:ArrayOfstring" />
          <xs:element xmlns:q9="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="FichierOrigine" nillable="true" type="q9:ArrayOfstring" />
          <xs:element xmlns:q10="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="NoteList" nillable="true" type="q10:ArrayOfstring" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OccurenciesByFolder" nillable="true" type="tns:OccurenciesByFolder" />
  <xs:complexType name="ReturnBoolean">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnValueOfboolean">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnBoolean" nillable="true" type="tns:ReturnBoolean" />
  <xs:complexType name="ReturnValueOfboolean">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="ReturnValueOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="boolean" Namespace="http://www.w3.org/2001/XMLSchema" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Value" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnValueOfboolean" nillable="true" type="tns:ReturnValueOfboolean" />
  <xs:complexType name="ReturnByte">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnValueOfbase64Binary">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnByte" nillable="true" type="tns:ReturnByte" />
  <xs:complexType name="ReturnValueOfbase64Binary">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="ReturnValueOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="base64Binary" Namespace="http://www.w3.org/2001/XMLSchema" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Value" nillable="true" type="xs:base64Binary" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnValueOfbase64Binary" nillable="true" type="tns:ReturnValueOfbase64Binary" />
  <xs:complexType name="ReturnString">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnValueOfstring">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnString" nillable="true" type="tns:ReturnString" />
  <xs:complexType name="ReturnValueOfstring">
    <xs:annotation>
      <xs:appinfo>
        <GenericType Name="ReturnValueOf{0}{#}" Namespace="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities" xmlns="http://schemas.microsoft.com/2003/10/Serialization/">
          <GenericParameter Name="string" Namespace="http://www.w3.org/2001/XMLSchema" />
        </GenericType>
      </xs:appinfo>
    </xs:annotation>
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnValueOfstring" nillable="true" type="tns:ReturnValueOfstring" />
  <xs:complexType name="StateMessageFlow">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Comment" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DateAdded" type="xs:dateTime" />
          <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FlowId" type="xs:long" />
          <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MessageFlowTitle" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RdNo" type="xs:long" />
          <xs:element minOccurs="0" name="RguId" type="xs:long" />
          <xs:element minOccurs="0" name="StateId" type="xs:long" />
          <xs:element minOccurs="0" name="WordingStateDoc" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="StateMessageFlow" nillable="true" type="tns:StateMessageFlow" />
  <xs:complexType name="ParamMessageFlow">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="ChronoTypeId" type="xs:long" />
          <xs:element minOccurs="0" name="TdId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ParamMessageFlow" nillable="true" type="tns:ParamMessageFlow" />
  <xs:complexType name="StateDoc">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="StateId" type="xs:long" />
          <xs:element minOccurs="0" name="WordingStateDoc" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="StateDoc" nillable="true" type="tns:StateDoc" />
  <xs:complexType name="ReturnDoubleValue">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnValueOfbase64Binary">
        <xs:sequence>
          <xs:element minOccurs="0" name="SecondValue" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnDoubleValue" nillable="true" type="tns:ReturnDoubleValue" />
  <xs:complexType name="Alert">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Body" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
          <xs:element minOccurs="0" name="GroupList" nillable="true" type="tns:ArrayOfGroup" />
          <xs:element minOccurs="0" name="GroupListName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Object" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SendDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="StatusIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="StatusName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UserCreationIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="UserEmail" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Alert" nillable="true" type="tns:Alert" />
  <xs:complexType name="ArrayOfGroup">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Group" nillable="true" type="tns:Group" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfGroup" nillable="true" type="tns:ArrayOfGroup" />
  <xs:complexType name="Group">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CanConsult" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanDelete" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanDownload" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanFlow" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanFlowValidation" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanMassImport" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanPrint" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanReorganize" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanScann" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanSendEmail" type="xs:boolean" />
          <xs:element minOccurs="0" name="FolderTypeRigthList" nillable="true" type="tns:ArrayOfFolderType" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="IsAdministrator" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsUser" type="xs:boolean" />
          <xs:element minOccurs="0" name="ItemRightsList" nillable="true" type="tns:ArrayOfItemRights" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="OrganizationList" nillable="true" type="tns:ArrayOfOrganization" />
          <xs:element minOccurs="0" name="UserIdentifier" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Group" nillable="true" type="tns:Group" />
  <xs:complexType name="ArrayOfFolderType">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="FolderType" nillable="true" type="tns:FolderType" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfFolderType" nillable="true" type="tns:ArrayOfFolderType" />
  <xs:complexType name="FolderType">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CartList" nillable="true" type="tns:ArrayOfCart" />
          <xs:element minOccurs="0" name="Delete" type="xs:boolean" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="Label" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LstFolders" nillable="true" type="tns:ArrayOfFolder" />
          <xs:element minOccurs="0" name="LstIndex" nillable="true" type="tns:ArrayOfIndex" />
          <xs:element minOccurs="0" name="LstItems" nillable="true" type="tns:ArrayOfItem" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NumberOfIndex" type="xs:int" />
          <xs:element minOccurs="0" name="OrganizationIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="Rank" type="xs:int" />
          <xs:element minOccurs="0" name="Table" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TreeNodeForItem" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="FolderType" nillable="true" type="tns:FolderType" />
  <xs:complexType name="ArrayOfCart">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Cart" nillable="true" type="tns:Cart" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCart" nillable="true" type="tns:ArrayOfCart" />
  <xs:complexType name="Cart">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Cart" nillable="true" type="tns:Cart" />
  <xs:complexType name="ReturnDictionary">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element xmlns:q11="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="Dictionary" nillable="true" type="q11:ArrayOfKeyValueOfstringstring" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ReturnDictionary" nillable="true" type="tns:ReturnDictionary" />
  <xs:complexType name="OcrMask">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="AuthorArea" nillable="true" type="tns:OcrArea" />
          <xs:element xmlns:q12="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Enum" minOccurs="0" name="AuthorOcrType" type="q12:OcrType" />
          <xs:element minOccurs="0" name="ChronoNumberArea" nillable="true" type="tns:OcrArea" />
          <xs:element xmlns:q13="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Enum" minOccurs="0" name="ChronoNumberOcrType" type="q13:OcrType" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="IndexMaskItemCollection" nillable="true" type="tns:ArrayOfOcrMaskItem" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OcrMask" nillable="true" type="tns:OcrMask" />
  <xs:complexType name="OcrArea">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Height" type="xs:double" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Width" type="xs:double" />
          <xs:element minOccurs="0" name="X" type="xs:double" />
          <xs:element minOccurs="0" name="Y" type="xs:double" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OcrArea" nillable="true" type="tns:OcrArea" />
  <xs:complexType name="OcrMaskItem">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Area" nillable="true" type="tns:OcrArea" />
          <xs:element minOccurs="0" name="Index" nillable="true" type="tns:Index" />
          <xs:element xmlns:q14="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Enum" minOccurs="0" name="OcrType" type="q14:OcrType" />
          <xs:element minOccurs="0" name="OcrValue" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OcrMaskItem" nillable="true" type="tns:OcrMaskItem" />
  <xs:complexType name="Index">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Category" nillable="true" type="tns:Category" />
          <xs:element minOccurs="0" name="Decimal" type="xs:int" />
          <xs:element minOccurs="0" name="DefaultValue" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Indentifier" type="xs:long" />
          <xs:element minOccurs="0" name="IndexLabel" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IndexOrder" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IsCaseSensitive" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsMandatory" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsUnique" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsVisible" type="xs:boolean" />
          <xs:element minOccurs="0" name="LabelRank" nillable="true" type="xs:int" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Separator" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Type" type="xs:int" />
          <xs:element minOccurs="0" name="ValueMaxLength" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Index" nillable="true" type="tns:Index" />
  <xs:complexType name="Category">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Category" nillable="true" type="tns:Category" />
  <xs:complexType name="OcrItem">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="OcrIndex" nillable="true" type="tns:Index" />
          <xs:element xmlns:q15="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="OcrValueList" nillable="true" type="q15:ArrayOfstring" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="OcrItem" nillable="true" type="tns:OcrItem" />
  <xs:complexType name="NumerizationOperator">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="FolderTypeName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FullName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NbFileScan" type="xs:int" />
          <xs:element minOccurs="0" name="NbFileScanPercents" type="xs:double" />
          <xs:element minOccurs="0" name="NbFolderClose" type="xs:int" />
          <xs:element minOccurs="0" name="NbFolderClosePercents" type="xs:double" />
          <xs:element minOccurs="0" name="NbFolderProcessed" type="xs:int" />
          <xs:element minOccurs="0" name="NbFolderProcessedPercents" type="xs:double" />
          <xs:element minOccurs="0" name="NbFolderToReview" type="xs:int" />
          <xs:element minOccurs="0" name="NbFolderToReviewPercents" type="xs:double" />
          <xs:element minOccurs="0" name="UserId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="NumerizationOperator" nillable="true" type="tns:NumerizationOperator" />
  <xs:complexType name="NumerizationOperatorByDate">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="FullName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NbFoldersProcessedByDate" nillable="true" type="tns:ArrayOfNumerizationFoldersByDate" />
          <xs:element minOccurs="0" name="UserId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="NumerizationOperatorByDate" nillable="true" type="tns:NumerizationOperatorByDate" />
  <xs:complexType name="ArrayOfNumerizationFoldersByDate">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="NumerizationFoldersByDate" nillable="true" type="tns:NumerizationFoldersByDate" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfNumerizationFoldersByDate" nillable="true" type="tns:ArrayOfNumerizationFoldersByDate" />
  <xs:complexType name="NumerizationFoldersByDate">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
          <xs:element minOccurs="0" name="NbFoldersProcessed" type="xs:int" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="NumerizationFoldersByDate" nillable="true" type="tns:NumerizationFoldersByDate" />
  <xs:complexType name="GeneralParameter">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element xmlns:q16="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Enum" minOccurs="0" name="Domain" type="q16:GeneralParameterDomain" />
          <xs:element xmlns:q17="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Enum" minOccurs="0" name="EnumName" type="q17:GeneralParameterName" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="IsEnabled" type="xs:boolean" />
          <xs:element minOccurs="0" name="IsMandatory" type="xs:boolean" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
          <xs:element xmlns:q18="http://schemas.datacontract.org/2004/07/NetBay.Core.BusinessEntities.Enum" minOccurs="0" name="ValueType" type="q18:GeneralParameterType" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="GeneralParameter" nillable="true" type="tns:GeneralParameter" />
  <xs:complexType name="ItemRights">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CanConsult" type="xs:boolean" />
          <xs:element minOccurs="0" name="CanModify" type="xs:boolean" />
          <xs:element minOccurs="0" name="Item" nillable="true" type="tns:Item" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ItemRights" nillable="true" type="tns:ItemRights" />
  <xs:complexType name="Item">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Item" nillable="true" type="tns:Item" />
  <xs:complexType name="User">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CTX_ClientScan" type="xs:boolean" />
          <xs:element minOccurs="0" name="CTX_Culture" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CTX_DefaultOrganization" type="xs:int" />
          <xs:element minOccurs="0" name="CTX_DefaultType" type="xs:int" />
          <xs:element minOccurs="0" name="CTX_LicenseKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="CTX_ParameterStorage" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FirstName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FullName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="GroupList" nillable="true" type="tns:ArrayOfGroup" />
          <xs:element minOccurs="0" name="LastName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LicenseKey" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Login" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="RefreshScanGuid" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="UserId" type="xs:long" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="User" nillable="true" type="tns:User" />
  <xs:complexType name="Genesis">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Action" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DescriptIndexCorrespondance" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DescriptionOrga" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DescriptionTD" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Exclusif" type="xs:boolean" />
          <xs:element minOccurs="0" name="IdentifierIndex" type="xs:int" />
          <xs:element minOccurs="0" name="IdentifierOrga" type="xs:long" />
          <xs:element minOccurs="0" name="IdentifierTD" type="xs:long" />
          <xs:element minOccurs="0" name="ImageName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="IndexPosit" type="xs:int" />
          <xs:element minOccurs="0" name="MailCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NameOrga" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="NameTD" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TypeSearch" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Genesis" nillable="true" type="tns:Genesis" />
  <xs:complexType name="Organization">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Deleted" type="xs:boolean" />
          <xs:element minOccurs="0" name="Description" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FolderTypesList" nillable="true" type="tns:ArrayOfFolderType" />
          <xs:element minOccurs="0" name="GroupIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Organization" nillable="true" type="tns:Organization" />
  <xs:complexType name="Folder">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="CreationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="CreationUserIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="FolderDocList" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FolderTypeIdentifier" type="xs:long" />
          <xs:element xmlns:q19="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="FullTextDocList" nillable="true" type="q19:ArrayOfstring" />
          <xs:element minOccurs="0" name="Histo" type="xs:int" />
          <xs:element minOccurs="0" name="Iddoc" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Identifier" type="xs:long" />
          <xs:element minOccurs="0" name="ListIndex" nillable="true" type="tns:ArrayOfIndex" />
          <xs:element xmlns:q20="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ListValues" nillable="true" type="q20:ArrayOfstring" />
          <xs:element minOccurs="0" name="LstDocuments" nillable="true" type="tns:ArrayOfDocument" />
          <xs:element minOccurs="0" name="ModificationDate" type="xs:dateTime" />
          <xs:element minOccurs="0" name="ModificationUserIdentifier" type="xs:long" />
          <xs:element minOccurs="0" name="NbAlert" type="xs:int" />
          <xs:element minOccurs="0" name="NbDoc" type="xs:int" />
          <xs:element minOccurs="0" name="Note" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="State" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Folder" nillable="true" type="tns:Folder" />
  <xs:complexType name="ArrayOfIndex">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Index" nillable="true" type="tns:Index" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfIndex" nillable="true" type="tns:ArrayOfIndex" />
  <xs:complexType name="Vignette">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:ReturnObject">
        <xs:sequence>
          <xs:element minOccurs="0" name="Img" nillable="true" type="xs:base64Binary" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PathStorage" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="Vignette" nillable="true" type="tns:Vignette" />
  <xs:complexType name="ArrayOfOcrMaskItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OcrMaskItem" nillable="true" type="tns:OcrMaskItem" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOcrMaskItem" nillable="true" type="tns:ArrayOfOcrMaskItem" />
  <xs:complexType name="ArrayOfFolder">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Folder" nillable="true" type="tns:Folder" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfFolder" nillable="true" type="tns:ArrayOfFolder" />
  <xs:complexType name="ArrayOfItem">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Item" nillable="true" type="tns:Item" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfItem" nillable="true" type="tns:ArrayOfItem" />
  <xs:complexType name="ArrayOfItemRights">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ItemRights" nillable="true" type="tns:ItemRights" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfItemRights" nillable="true" type="tns:ArrayOfItemRights" />
  <xs:complexType name="ArrayOfOrganization">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Organization" nillable="true" type="tns:Organization" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOrganization" nillable="true" type="tns:ArrayOfOrganization" />
</xs:schema>